import request from '@/utils/request'

// 收藏列表
export function collectList(data) {
    return request({
        url: '/mall/collect/list',
        method: 'post',
        data: data
    })
}

// 添加或取消收藏
export function collectAddOrDelete(data) {
    return request({
        url: '/mall/collect/addordelete',
        method: 'post',
        data: data
    })
}
